package cn.com.dycc.party_org.organize.entity;

import java.io.Serializable;
/**
 * 用户信息实体类
 * @author linfa
 *
 */
public class BasicUserMation implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 3087101681257506470L;
	
	private String id;				//用户id
	private String account;			//用户账户
	private String user_pic;		//用户账户
	private String username;		//用户姓名
	private String post_name;		//用户职务
	private String class_name;		//用户岗位
	
	private String tel_m;			//新增电话号码
	
	public BasicUserMation(){}

	public BasicUserMation(String id, String account, String user_pic, String username, String post_name,
			String class_name, String tel_m) {
		super();
		this.id = id;
		this.account = account;
		this.user_pic = user_pic;
		this.username = username;
		this.post_name = post_name;
		this.class_name = class_name;
		this.tel_m = tel_m;
	}

	

	public String getTel_m() {
		return tel_m;
	}

	public void setTel_m(String tel_m) {
		this.tel_m = tel_m;
	}

	public String getUser_pic() {
		return user_pic;
	}


	public void setUser_pic(String user_pic) {
		this.user_pic = user_pic;
	}


	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getAccount() {
		return account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPost_name() {
		return post_name;
	}

	public void setPost_name(String post_name) {
		this.post_name = post_name;
	}

	public String getClass_name() {
		return class_name;
	}

	public void setClass_name(String class_name) {
		this.class_name = class_name;
	}

	@Override
	public String toString() {
		return "BasicUserMation [id=" + id + ", account=" + account + ", user_pic=" + user_pic + ", username="
				+ username + ", post_name=" + post_name + ", class_name=" + class_name + ", tel_m=" + tel_m + "]";
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((id == null) ? 0 : id.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		BasicUserMation other = (BasicUserMation) obj;
		if (id == null) {
			if (other.id != null)
				return false;
		} else if (!id.equals(other.id))
			return false;
		return true;
	}
	
	

}
